package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 数据转换记录查询对象 data_conversion_info
 * 
 * @author ruoyi
 * @date 2020-04-13
 */
public class DataConversionInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 新id名 */
    @Excel(name = "新id名")
    private Long newId;

    /** 原ID名 */
    @Excel(name = "原ID名")
    private Long oldId;

    /** 新表名 */
    @Excel(name = "新表名")
    private String newTable;

    /** 源表名 */
    @Excel(name = "源表名")
    private String oldTable;

    /** 新库名 */
    @Excel(name = "新库名")
    private String newDatabase;

    /** 源库名 */
    @Excel(name = "源库名")
    private String oldDatabase;

    /** 新站点 */
    @Excel(name = "新站点")
    private Long newWebid;

    /** 老站点 */
    @Excel(name = "老站点")
    private Long oldWebid;

    /** 时间 */
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date datetime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNewId(Long newId) 
    {
        this.newId = newId;
    }

    public Long getNewId() 
    {
        return newId;
    }
    public void setOldId(Long oldId) 
    {
        this.oldId = oldId;
    }

    public Long getOldId() 
    {
        return oldId;
    }
    public void setNewTable(String newTable) 
    {
        this.newTable = newTable;
    }

    public String getNewTable() 
    {
        return newTable;
    }
    public void setOldTable(String oldTable) 
    {
        this.oldTable = oldTable;
    }

    public String getOldTable() 
    {
        return oldTable;
    }
    public void setNewDatabase(String newDatabase) 
    {
        this.newDatabase = newDatabase;
    }

    public String getNewDatabase() 
    {
        return newDatabase;
    }
    public void setOldDatabase(String oldDatabase) 
    {
        this.oldDatabase = oldDatabase;
    }

    public String getOldDatabase() 
    {
        return oldDatabase;
    }
    public void setNewWebid(Long newWebid) 
    {
        this.newWebid = newWebid;
    }

    public Long getNewWebid() 
    {
        return newWebid;
    }
    public void setOldWebid(Long oldWebid) 
    {
        this.oldWebid = oldWebid;
    }

    public Long getOldWebid() 
    {
        return oldWebid;
    }
    public void setDatetime(Date datetime) 
    {
        this.datetime = datetime;
    }

    public Date getDatetime() 
    {
        return datetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("newId", getNewId())
            .append("oldId", getOldId())
            .append("newTable", getNewTable())
            .append("oldTable", getOldTable())
            .append("newDatabase", getNewDatabase())
            .append("oldDatabase", getOldDatabase())
            .append("newWebid", getNewWebid())
            .append("oldWebid", getOldWebid())
            .append("datetime", getDatetime())
            .toString();
    }
}
